/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.yunhoo.contract.model;

import com.yunhoo.sys.util.common.LoginParam;

/**
 * 违约责任
 *
 * @author Administrator
 */
public class Duty {

    private String orgCode;
    private int id = 0;
    private String number = "";         //合同编号
    private String duty = "";         //违约责任
    private String memo = "";           //备注
    private int flag = 0;//主合同 : 0  补充合同: 1
    private boolean selected = false;

    public Duty() {
        orgCode = LoginParam.getOrg().getCode();
    }

    public String getDuty() {
        return duty;
    }

    public void setDuty(String duty) {
        this.duty = duty;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public boolean isSelected() {
        return selected;
    }

    public void setSelected(boolean selected) {
        this.selected = selected;
    }

    public int getFlag() {
        return flag;
    }

    public void setFlag(int flag) {
        this.flag = flag;
    }

    public String getOrgCode() {
        return orgCode;
    }

    public void setOrgCode(String orgCode) {
        this.orgCode = orgCode;
    }
}
